package models.core.catalog;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * Vin entity
 */
public class VinDto extends ProductDto implements Serializable {

	private static final long serialVersionUID = -1548515713227113139L;
	private DesignationDto designation;
	private DomainDto domain;
	private VigneronDtoInfo vigneron;
	private RegionDto region;
	private CountryDto country;
	private VarietyDto variety;
	private Long favorite;
	private Long log;
	private Long score;
	private Long sell;
	private Integer year;
	private Integer alcohol;
	private ColorDto color;
	private CategorizationDto categorization;
	private Set<GrapeDto> grapes = new HashSet<GrapeDto>(0);

	public VinDto() {
	}

	public VinDto(DesignationDto designation, DomainDto domain, VigneronDtoInfo vigneron,
			RegionDto region, CountryDto country, VarietyDto variety,
			Integer year, Integer alcohol, ColorDto color, CategorizationDto categorization) {
		super();
		this.designation = designation;
		this.domain = domain;
		this.vigneron = vigneron;
		this.region = region;
		this.country = country;
		this.variety = variety;
		this.year = year;
		this.alcohol = alcohol;
		this.color = color;
		this.categorization = categorization;
	}

	public DesignationDto getDesignation() {
		return designation;
	}

	public void setDesignation(DesignationDto designation) {
		this.designation = designation;
	}

	public DomainDto getDomain() {
		return domain;
	}

	public void setDomain(DomainDto domain) {
		this.domain = domain;
	}

	public VigneronDtoInfo getVigneron() {
		return vigneron;
	}

	public void setVigneron(VigneronDtoInfo vigneron) {
		this.vigneron = vigneron;
	}

	public RegionDto getRegion() {
		return region;
	}

	public void setRegion(RegionDto region) {
		this.region = region;
	}

	public CountryDto getCountry() {
		return country;
	}

	public void setCountry(CountryDto country) {
		this.country = country;
	}

	public VarietyDto getVariety() {
		return variety;
	}

	public void setVariety(VarietyDto variety) {
		this.variety = variety;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getAlcohol() {
		return alcohol;
	}

	public void setAlcohol(Integer alcohol) {
		this.alcohol = alcohol;
	}

	public ColorDto getColor() {
		return color;
	}

	public void setColor(ColorDto color) {
		this.color = color;
	}

	public CategorizationDto getCategorization() {
		return categorization;
	}

	public void setCategorization(CategorizationDto categorization) {
		this.categorization = categorization;
	}

	public Set<GrapeDto> getGrapes() {
		return grapes;
	}

	public void setGrapes(Set<GrapeDto> grapes) {
		this.grapes = grapes;
	}

	public Long getFavorite() {
		return favorite;
	}

	public void setFavorite(Long favorite) {
		this.favorite = favorite;
	}

	public Long getLog() {
		return log;
	}

	public void setLog(Long log) {
		this.log = log;
	}

	public Long getScore() {
		return score;
	}

	public void setScore(Long score) {
		this.score = score;
	}

	public Long getSell() {
		return sell;
	}

	public void setSell(Long sell) {
		this.sell = sell;
	}

}
